<?php

$seconds = 3603*24;
// days Hours Min sec
$tmpMinutes = $seconds/60;
echo $seconds = $seconds%60;
//echo ' Sec - ';
$tmpHours = $tmpMinutes/60;
echo $minutes = $tmpMinutes%60;
//echo ' Min - ';
$tmpDays = $tmpHours/24;
echo $hours = $tmpHours%24;
//echo ' HRS - ';
echo floor($tmpDays);
//echo ' DAYS  - ';
echo "\n\n";
echo floor($tmpDays)." Days $hours HOURS $minutes MINUTES $seconds SECONDS\n\n";
